import { type MockMethod } from 'vite-plugin-mock'
import klineData from '../assets/json/kline-data.json'

export default [
    {
        url: "/api/stock/kline_data",
        method: "get",
        response: () => {
            return {
                code: 1,
                data: klineData,
                msg_cn: "获取K线数据成功",
                msg_en: "Get K-line data successful"
            }
        }
    }
] as MockMethod[]